﻿@model ChoMy.Models.RegisterViewModel

@{
    ViewBag.Title = "Register";
}

<div id="Account" class="Register">
    <div class="container">
        <div class="col-md-6 col-md-offset-3">
            <div class="bg-white">
                <div class="bg-title">
                    <h4>Đăng ký tài khoản Chợ Mỹ</h4>
                </div>
                @using (Html.BeginForm("Register", "Account", FormMethod.Post, new { role = "form" }))
                {
                    @Html.AntiForgeryToken()
                    @Html.ValidationSummary("")

                    <strong>Thông tin tài khoản</strong>
                    <div class="form-group">
                        @Html.TextBoxFor(m => m.Email, new { @class = "form-control", placeholder = "Email" })
                    </div>
                    <div class="form-group">
                        @Html.PasswordFor(m => m.Password, new { @class = "form-control", placeholder = "Mật khẩu" })
                    </div>
                    <div class="form-group">
                        @Html.PasswordFor(m => m.ConfirmPassword, new { @class = "form-control", placeholder = "Xác nhận mật khẩu" })
                    </div>
                    <hr />
                    <strong>Thông tin khách hàng</strong>
                    <div class="form-group">
                        @Html.TextBoxFor(m => m.Email, new { @class = "form-control", placeholder = "Email" })
                    </div>
                    <div class="form-group">
                        @Html.PasswordFor(m => m.Password, new { @class = "form-control", placeholder = "Mật khẩu" })
                    </div>
                    <div class="form-group">
                        @Html.PasswordFor(m => m.ConfirmPassword, new { @class = "form-control", placeholder = "Xác nhận mật khẩu" })
                    </div>
                    <hr />
                    <div class="text-center">
                        <button type="submit" class="btn btn-primary btn-lg">
                            Đăng ký
                        </button>
                    </div>
                }
            </div>
        </div>
    </div>
</div>